<?php

namespace addons\tools\model;

use think\Model;

class MealLog extends Model
{
    protected $name = 'user_meal_log';

    protected $autoWriteTimestamp = true;

    protected $createTime = 'createtime';

    protected $updateTime = '';

    public static function createLog($data)
    {
        return (new static())->save($data);
    }
}